Previous Book Contents Book Index Next

Inside Macintosh: Programming With the Text Encoding Conversion Manager /
Chapter 4 - Unicode Converter Reference / Unicode Converter Functions
Using a Static Library /


InitializeUnicodeConverter

Initializes the 68K static library version of the Unicode Converter.

pascal OSStatus InitializeUnicodeConverter (StringPtr TECFileName);
TECFileName
Text Encoding Conversion Manager extension file name. You may pass NULL for this parameter or you can pass the extension file name, which improves performance of the function. After you call InitializeUnicodeConverter, you can obtain the extension name for subsequent calls to InitializeUnicodeConverter using the function TECGetInfo (page 54).
function result
A result code. See "Text Encoding Conversion Manager Result Codes" (page 42) in the chapter "Basic Text Types Reference."
DISCUSSION
You may call InitializeUnicodeConverter more than once. The function checks whether the converter has already been initialized, and if so, completes execution successfully.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 NOV 1997